package ExperimentFour.Observer;

/**
 * @author 北巷_东坡
 * @date 2022/11/15 20:22
 * @computer 10741
 */
public class Client206 {
    public static void main(String[] args) {
        StockSubject206 stock206 = new Stock206();
        IncestorObserver206 inc=new Incestor206();
        stock206.attach(inc);
        stock206.notice((int) 1);   //1为股票价格浮动是10%
    }
}
